﻿using System;

using SharedGenomics.Workbench.Core;

namespace SharedGenomics.Workbench.Tests.TestObjects
{
    public class LoginRequiredInterceptedClass
    {
        [SharedGenomics.Workbench.Aspects.LoginRequired]
        public virtual void VoidMethod()
        {
            this.VoidMethodCalled = true;
        }

        [SharedGenomics.Workbench.Aspects.LoginRequired]
        public virtual Maybe<string> MethodWithReturnValue()
        {
            return new Maybe<string>("abc");
        }

        public bool VoidMethodCalled { get; private set; }
    }
}
